package com.project.service.impl;

import com.project.bean.SpeakBean;
import com.project.mapper.ISpeakMapper;
import com.project.service.ISpeakService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class SpeakServiceImpl implements ISpeakService {
    @Autowired
    private ISpeakMapper mapper;
    @Override
    public void add(SpeakBean speak) {
        mapper.insert(speak);
    }
}
